package com.coolbi.security.constant;

/**
 * @Description 后台登录配置
 * @author for2cold
 * 
 */
public class LoginConstant {

	/**
	 * 在线
	 */
	public static final int ON_LINE = 1;
	/**
	 * 离线
	 */
	public static final int OFF_LINE = 0;
	/**
	 * 锁定
	 */
	public static final boolean IS_LOCK = true;
	/**
	 * 解锁
	 */
	public static final boolean IS_UNLOCK = false;
	/**
	 * 可用
	 */
	public static final int IS_ENABLE = 1;
	/**
	 * 不可用
	 */
	public static final int IS_DISABLE = 0;
	/**
	 * 验证码
	 */
	public static final String VALIDATE_CODE = "verifycode";
	/**
	 * 登录名
	 */
	public static final String USERNAME = "j_username";
	/**
	 * 登录密码
	 */
	public static final String PASSWORD = "j_password";
	/**
	 * 当前操作员
	 */
	public static final String CURRENT_USER = "currentUser";
	/**
	 * 登录失败信息
	 */
	public static final String FAILURE_MESSAGE = "failureMessage";
	/**
	 * 登录成功后恢复登录失败次数为0
	 */
	public static final int RETAIN_LOGIN_FAILURE_COUNT = 0;
}
